import {getCurrentInstance} from 'vue';
export function useGlobalConfig(){
    const instance=getCurrentInstance();
    if (!instance) {
        throw new Error('useGlobalConfig must be called within a setup function');
    }
    return instance.appContext.config.globalProperties;
}
